package com.training.java.core.interfaceexamples;

public class interfaceDemo3 {

	public static void main(String[] args) {
		Computer laptop = new Laptop();
		Computer SmartPhone = new SmartPhone();
		Computer tablet = new Tablet();

		laptop.charging();
		laptop.turnOn();
		laptop.typingEmail();
		laptop.turnOff();

		System.out.println("===========================");

		SmartPhone.charging();
		SmartPhone.turnOn();
		SmartPhone.typingEmail();
		SmartPhone.turnOff();

		System.out.println("===========================");

		tablet.charging();
		tablet.turnOn();
		tablet.typingEmail();
		tablet.turnOff();

	}

}
